package worlds
{
	import global.ErrorType;
	import global.Managers;
	
	public class TableWorld extends BaseWorld
	{
		private static var _instance		: TableWorld;
		
		public function TableWorld()
		{
			super();
			if(_instance != null) {
				throw new Error(ErrorType.SINGLETON);
			}
		}
		public static function getInstance():TableWorld {
			if(_instance == null) {
				_instance = new TableWorld();
			}
			return _instance;
		}
		override public function init():void {
			super.init();
			// 切换为主界面
			Managers.faceManager.switchTo(Managers.faceManager.idleFace);
		}
	}
}